package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.Task;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskMapper extends BaseMapper<Task> {

    List<Task> selectAll();

    List<Task> selectByTaskName(String taskName);

    void insertTask(Task task);

    List<Task> selectClassifyNumber();

    List<Task> selectAllTask();

    List<Task> selectExceedTask();

    List<Task> selectUpcomingTask();

    List<Task> selectTaskEcharts();
}
